package com.dzt.trainingmgt.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.servlet.ModelAndView;

@Controller
public class htmlController {
    @GetMapping("/")
    public ModelAndView getHtml() {
        ModelAndView mv = new ModelAndView();
        mv.setViewName("/index.html");
        return mv;
    }    
}
